css: No longer expose internal properties
authorBenjamin Otte <otte@redhat.com>
Sat, 31 Dec 2011 22:07:13 +0000 (23:07 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 9 Jan 2012 17:37:53 +0000 (18:37 +0100)
... in gtk_style_properties_lookup_property(). Those properties will
soon stop having pspecs or even being gettable and settable, so better
not tell anyone about it.

gtk/gtkcsscustomproperty.c

index 1d49492429cfec6f605cac92bb9ece815d0222e4..ab0ec9eb96150d8afcf79a769698fc85bb1c26c0 100644 (file)
@@ -193,7 +193,7 @@ gtk_style_properties_lookup_property (const gchar             *property_name,
 
   node = _gtk_style_property_lookup (property_name);
 
-  if (node)
+  if (GTK_IS_CSS_CUSTOM_PROPERTY (node))
     {
       if (pspec)
         *pspec = node->pspec;